package com.lwt.spock.service;

import com.lwt.spock.pojo.Other;
import org.springframework.stereotype.Service;

import javax.print.attribute.standard.MediaSize;

/**
 * @author lwt
 * @version 1.0
 * @Description
 * @date 2021/8/15 21:16
 */
@Service
public class OtherService {

    public Other getOtherById(Integer id) {
        Other other = new Other();
        other.setId(id);
        other.setName("test");
        other.setEnabled(true);
        return other;
    }

}
